//
//  News.h
//  555彩票
//
//  Created by zhoubo on 2017/7/4.
//  Copyright © 2017年 zhoubo. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "LoopModel.h"

@interface News : NSObject

@property (nonatomic,copy) NSString* title;
@property (nonatomic,copy) NSString* content;
@property (nonatomic,copy) NSString* Id;
@property (nonatomic,strong) NSDate* date;
@property (nonatomic,strong) NSArray* imgurls;
@property (nonatomic,strong) NSArray* comment;
@property (nonatomic,copy) NSString* author;

+(instancetype)newsWithDict:(NSDictionary*)dic;

+ (void)loadNewsWithName:(NSString *)name success:(void (^)(NSArray *news))success faild:(void (^)(NSError *error))failed;

+(instancetype)newsFromLoopModel:(LoopModel*)loopmodel;
@end
